package com.wyix.domain.dto;

import io.swagger.v3.oas.annotations.Parameter;
import lombok.Data;

import java.time.LocalDate;

/**
 * 成绩查询条件DTO
 *
 * @author wangdx
 * @since 2025/8/28
 */
@Data
public class ScoreQueryDTO {
    @Parameter(description = "学生ID")
    private Long studentId;

    @Parameter(description = "课程ID")
    private Long courseId;

    @Parameter(description = "最低分数")
    private Double minScore;

    @Parameter(description = "最高分数")
    private Double maxScore;

    @Parameter(description = "考试日期开始")
    private LocalDate startExamDate;

    @Parameter(description = "考试日期结束")
    private LocalDate endExamDate;

    @Parameter(description = "页码，默认1")
    private Integer pageNum = 1;

    @Parameter(description = "每页条数，默认10")
    private Integer pageSize = 10;
}
